#include "stdafx.h"
#include "SystemLogFile.h"
#include "System.h"

namespace Core
{
	SystemLogFile::SystemLogFile()
	{
		m_InputLogFile.SetFileNameMask("../dat/Input-%y-%m-%d-%H.dat");
		m_InputLogFile.SetInterval(LogFileInterval_EveryHour);
		m_OutputLogFile.SetFileNameMask("../dat/Output-%y-%m-%d.dat");
		m_OutputLogFile.SetInterval(LogFileInterval_EveryHour);
	}

	LogFileWriter& SystemLogFile::GetInputLogFile()
	{
		return m_InputLogFile;
	}

	LogFileWriter& SystemLogFile::GetOutputLogFile()
	{
		return m_OutputLogFile;
	}
}
